import 'dart:convert';

class ConfigModel {
  final String searchUrl;

  ConfigModel({this.searchUrl}); //使用{}，参数是可选的

  factory ConfigModel.fromJson(Map<String, dynamic> json) {
    return ConfigModel(searchUrl: json['searchUrl']);
  }

  Map<String, dynamic> toJson() {
    return {searchUrl: searchUrl};
  }
}
